<template>
  <div class="CharacterDetail">
    <div class="header">
      <div style="width: 100%;display: flex;justify-content: space-between;">
        <h3>
          HIIC科技信息智能检索
        </h3>
        <el-button 
          type="primary" 
          icon="el-icon-house" 
          circle
          style="background-color: #1890ff;border: 0;"
          @click="$router.push('HomePage')"
        >
        </el-button>
      </div>
    </div>
    <div class="CharacterDetailBody" style="margin: 20px 0 0 20%;">
      <div>
        <span>当前位置:</span>
        <el-button 
          type="text" 
          style="margin-left: 10px;color: #000;"
          @click="$router.push('/SearchPage')"
        >
          资源搜索
        </el-button>
        <span style="margin: 0 5px;">/</span>
        <el-button type="text">详情</el-button>
      </div>
      <div>
        <el-input placeholder="请输入内容" v-model="searchInput" class="input-with-select" style="width: 50%;">
           <template slot="append">
             <el-button type="primary" class="btn">搜索</el-button>
           </template>
        </el-input>
      </div>
      <div>
        123
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'CharacterDetail',
  data() {
    return {
      searchInput: '',
    };
  },
  created() {
    console.log('传过来的id', this.$route.query.id);
  },
  methods: {

  },
}
</script>

<style lang="less">
  .CharacterDetail {
    height: 100%;
  }
</style>